﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Catering.Catering_Page.JieGouJianKong
{
    public partial class ShiwuYingyangView : System.Web.UI.Page
    {
        #region 属性
        public DataTable dt_RawMaterials = new DataTable();
        public DataTable dt_RawMaterialsInfo = new DataTable();
        public DataTable dt_RawMaterial = new DataTable();
        #endregion
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadPageData();
            }
        }

        #region 页面数据绑定
        private void LoadPageData()
        {
            this.dt_RawMaterials = new Catering_Rules.T_RawMaterials().GetList(" id <> 8 and id <> 9 and id <> 15 and id <> 16 and id <> 10 and id <> 11 and id <> 13 and id <> 7").Tables[0];
            this.dt_RawMaterialsInfo = new Catering_Rules.RawMaterialsInfo().GetAllList().Tables[0];
        }
        #endregion
    }
}